package com.xx.sg.dbw.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.xx.sg.dbw.mapper.PlatWatchTowerMapper;
import com.xx.sg.dbw.entity.PlatWatchTower;
import com.xx.sg.dbw.service.PlatWatchTowerService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlatWatchTowerServiceImpl extends ServiceImpl<PlatWatchTowerMapper, PlatWatchTower> implements PlatWatchTowerService {

    @Autowired
    private PlatWatchTowerMapper platWatchTowerMapper;

    @Override
    public List<PlatWatchTower> selectListRange(String longitude, String latitude, String radius) {
        return platWatchTowerMapper.selectListRange(longitude, latitude, radius);
    }
}
